package com.wk1un2.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_track")
public class Track {
	@TableId
	private Integer trackid;

	@TableField("trackdatebegin")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date trackdatebegin;

	@TableField("trackdateend")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date trackdateend;

	@TableField("tracktype")
	private String tracktype;
	@TableField("trackstate")
	private Integer trackstate;
	@TableField("trackcontent")
	private String trackcontent;
	@TableField("userid")
	private Integer userid;
	@TableField("stuid")
	private Integer stuid;

	@TableField(exist = false)
	private String username;

	@TableField(exist = false)
	private String stuname;

	@TableField(exist = false)
	private Integer IsReturnVisit;// 回访情况

	@TableField("trackcreatetime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date trackcreatetime;
}
